package ch1;

import java.util.Scanner;

public class Zuoye03075 {
    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
        System.out.println("请输入用户的积分：");
        int x=scan.nextInt();
        if (x>=8000){
            System.out.println("您获得的折扣为：6折");
        }
        else if (x>=4000){
            System.out.println("您获得的折扣为：7折");
        }else if (x>=2000){
            System.out.println("您获得的折扣为：8折");
        }else {
            System.out.println("您获得的折扣为：9折");
        }
    }
}
